package org.example.design.exerciseold.principle;

/**
 * @Auther: lingshi
 * @Date: 2020/5/8 10:01
 * @Description:
 */
public class javaCourseTest {

    public static void main(String[] args) {
        JavaCourseSell ja = new JavaCourseSell(11,"JACK",9500);
        System.out.println("课程id："+ja.getId()+"\n"+
                "讲解老师："+ja.getName()+"\n"+
                "原价："+ja.getPrice()+"\n"+
                "折后价格："+ja.getdiscountsPrice());
    }
}
